-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] Fix: Custom auth profile label #5660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] Fix: Custom auth profile label #5660
Conversation
🦋 Changeset detectedLatest commit: 97357e4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
79464ba to
42796a7
Compare
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5660 +/- ##
==========================================
+ Coverage 50.82% 51.22% +0.39%
==========================================
Files 1092 1092
Lines 57334 57336 +2
Branches 4636 4676 +40
==========================================
+ Hits 29142 29368 +226
+ Misses 27476 27252 -224
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on fixing the display of the "Custom Auth" profile type label in the `LinkedProfilesScreen` component and enhancing unit tests for various profile types.
### Detailed summary
- Updated `LinkedProfilesScreen.tsx` to return "Custom Profile" for `custom_auth_endpoint`.
- Added unit tests in `LinkedProfilesScreen.test.tsx` for:
- Email, Google, Phone, Wallet, Cognito profiles.
- Custom Auth profile type.
- Handling of unknown and guest profile types.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
42796a7 to
97357e4
Compare
<!-- start pr-codex -->
## PR-Codex overview
This PR focuses on improving the display of linked profiles in the `LinkedProfilesScreen` component by correctly handling the "Custom Auth" profile type and enhancing unit tests for various profile types.
### Detailed summary
- Updated the label for the "Custom Auth" profile type to "Custom Profile".
- Added unit tests for various profile types including email, google, phone, wallet address, cognito, custom_auth_endpoint, and unknown types.
- Ensured guest profiles are not displayed.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
97357e4 to
d5a68c8
Compare
PR-Codex overview
This PR focuses on updating the
LinkedProfilesScreencomponent to correctly display profile types, including a new label for "Custom Auth" profiles. It also enhances test coverage for different profile types.Detailed summary
LinkedProfilesScreen.tsxto return "Custom Profile" forcustom_auth_endpoint.LinkedProfilesScreen.test.tsxfor various profile types including email, google, phone, wallet, cognito, custom_auth_endpoint, and unknown.